home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.19950528-19950726
/
000045_news@columbia.edu_Thu Jun 1 11:56:04 1995.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
2KB
Received: from apakabar.cc.columbia.edu by watsun.cc.columbia.edu with SMTP id AA14679
(5.65c+CU/IDA-1.4.4/HLK for <kermit.misc@watsun.cc.columbia.edu>); Fri, 2 Jun 1995 23:29:08 -0400
Received: by apakabar.cc.columbia.edu id AA15198
(5.65c+CU/IDA-1.4.4/HLK for kermit.misc@watsun); Fri, 2 Jun 1995 23:29:07 -0400
Path: news.columbia.edu!panix!news.mathworks.com!uhog.mit.edu!bloom-beacon.mit.edu!spool.mu.edu!torn!news.ccs.queensu.ca!news.ccs.queensu.ca!not-for-mail
From: mike@knot.QueensU.CA (Mike Smith)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Kermit scripting problems
Date: 1 Jun 1995 07:56:04 -0400
Organization: Queen's University, Kingston
Lines: 40
Message-Id: <3qk9sk$5nm@ccs-sparc2.queensu.ca>
References: <D9G96t.7DF@cunews.carleton.ca> <D9GEoA.KIK@cunews.carleton.ca>
Nntp-Posting-Host: ccs-sparc2.ccs
Apparently-To: kermit.misc@watsun.cc.columbia.edu
I'm developing an ftp mimic for C-Kermit->MS-Kermit transfers and had
the same problem. The following macros will let you confirm that cd worked
on MSK. (I expect the technique generalizes to any apc initiated command
but I have only tested cd.)
def cd -
apc cd \Fcontents(\%1), -
apcstat, -
if eq 0 \v(query) echo {250 CWD command successful.}, -
else echo {550 \Fcontents(\%1): No such file or directory}
def apcstat -
apc server, -
msleep 500, -
remote query kermit status, -
finish
The careful reader might wonder why I use apc cd rather than remote cd as
in the following:
def cd1 -
apc server, -
msleep 500, -
remote cd \Fcontents(\%1), -
remote query kermit status, -
finish, -
if eq 0 \v(query) echo {250 CWD command successful.}, -
else echo {550 \Fcontents(\%1): No such file or directory}
The answer is it doesn't work. I'm beginning to think this is a bug
which I'll document and submit via e-mail with some test details to
Columbia.
--
Mike Smith mike@ccs.queensu.ca
Queen's University Michael.D.Smith@QueensU.CA
Computing and Communications Services (613) 545-2024